﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.DTO
{
    public class ShippingByMaterialCodeDto
    {
        /// <summary>
        /// 装备Id
        /// </summary>
        public int? MaterialCategoryId { get; set; }

        /// <summary>
        /// 装备编码
        /// </summary>
        public string MaterialCategoryCode { get; set; }

        /// <summary>
        /// 装备名称
        /// </summary>
        public string MaterialCategoryName { get; set; }

        /// <summary>
        /// 器材Id
        /// </summary>
        public int? MaterialId { get; set; }

        /// <summary>
        /// 器材名称
        /// </summary>
        public string MaterialName { get; set; }

        /// <summary>
        /// 器材编码
        /// </summary>
        public string MaterialCode { get; set; }

        /// <summary>
        /// 质量状态：0-新品；1-堪用品；2-待修品；4-废品；
        /// </summary>
        public int? QualityState { get; set; }

        /// <summary>
        /// 可用库存数量
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal? AvailableQty { get; set; }

        /// <summary>
        /// 仓位编码
        /// </summary>
        public List<string?> LocationCode { get; set; }
    }
}
